class BannerEntity {
  String imgurl, desc_up, desc_down, link;

  BannerEntity.fromJson(dynamic json) {
    if (json != null && json is Map) {
      imgurl = json['imgurl'];
      desc_up = json['desc_up'];
      desc_down = json['desc_down'];
      link = json['link'];//activity id?
    }
  }

  // @override
  // String toString() =>
  // '{imgurl=$imgurl, desc_up=$desc_up, desc_down=$desc_down, link=$link}';
}
